﻿<UserControl x:Class="Flare.Pages.Reports.MoveHardHistory"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             xmlns:base="clr-namespace:Flare.DB"
             xmlns:Controls="clr-namespace:Flare.Controls"
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <ObjectDataProvider x:Key="move_historyDataSet" ObjectType="{x:Type base:equipments}" MethodName="MoveHistory" IsAsynchronous="False">
            <ObjectDataProvider.MethodParameters>
                <x:NullExtension/>
            </ObjectDataProvider.MethodParameters>
        </ObjectDataProvider>
    </UserControl.Resources>
    <ListBox Name="ContractList" Grid.Column="1" Margin="20,0,0,0" ItemsSource="{Binding Source={StaticResource move_historyDataSet}, IsAsync=True}"
             SelectedValuePath="id_contract" HorizontalAlignment="Stretch" Style="{StaticResource StyleListBoxVertical}" 
             ItemContainerStyle="{StaticResource EqMoveItemTemplate}">
    </ListBox>

</UserControl>
